﻿@model FirmaKurierska.Models.LocalPasswordModel


@using (Html.BeginForm("Manage", "Account"))
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary()
    <div class="col-lg-6">
        <div class="well">
            <fieldset>
                <legend>Formularz zmiany hasła</legend>

                <div class="form-group">
                    <label>@Html.LabelFor(m => m.OldPassword)</label>
                    @Html.PasswordFor(m => m.OldPassword, new { @class = "form-control" })
                    @Html.ValidationMessageFor(m => m.OldPassword)
                </div>
                <div class="form-group">
                    <label>@Html.LabelFor(m => m.NewPassword)</label>
                    @Html.PasswordFor(m => m.NewPassword, new { @class = "form-control" })
                    @Html.ValidationMessageFor(m => m.NewPassword)

                </div>
                <div class="form-group">
                    <label>@Html.LabelFor(m => m.ConfirmPassword)</label>
                    @Html.PasswordFor(m => m.ConfirmPassword, new { @class = "form-control" })
                    @Html.ValidationMessageFor(m => m.ConfirmPassword)

                </div>
                <div class="form-group">
                    <input type="submit" value="Zmień hasło" class="btn btn-default" />
                </div>
            </fieldset>
        </div>
    </div>
}
